package com.service.admin.otc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.service.admin.otc.controller.rep.OtcOrderPageRep;
import com.service.admin.otc.controller.rep.OtcTradeDetailRep;
import com.service.admin.otc.controller.req.OtcOrderPageReq;
import com.service.core.rest.response.CommonPageRep;
import com.service.dao.model.OtcOrder;

import java.util.List;

/**
 * 场外交易
 *
 * @author xxxx
 * @email xxxx@qq.com
 * @date 2019-11-18 10:15:22
 */
public interface OtcOrderService extends IService<OtcOrder> {

    CommonPageRep<OtcOrderPageRep> pageOrder(OtcOrderPageReq pageRequest);

    List<OtcTradeDetailRep> getOtcOrderTradeDetail(Integer otcId);

    void cancelOrder(Integer orderId);
}

